package edu.nf.db.util.result;

import edu.nf.db.util.ResultSetHandler;
import edu.nf.db.util.RowProcessor;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Map;

/**
 * @Author lzp
 * @Date 2024-05-10
 */
public class MapListHandeler implements ResultSetHandler<Map<String, Object>> {
    @Override
    public Map<String, Object> handle(ResultSet rs) throws SQLException {
        return RowProcessor.toMap(rs);
    }
}
